package com.boluo.businessManagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.boluo.common.annotation.Excel;
import com.boluo.common.core.domain.BaseEntity;

/**
 * 物品库存对象 bus_ment_goods_store
 * 
 * @author boluo
 * @date 2023-05-02
 */
public class BusMentGoodsStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 物品id */
    @Excel(name = "物品id")
    private Long goodsId;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long storeId;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long amounts;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setAmounts(Long amounts) 
    {
        this.amounts = amounts;
    }

    public Long getAmounts() 
    {
        return amounts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsId", getGoodsId())
            .append("storeId", getStoreId())
            .append("amounts", getAmounts())
            .toString();
    }
}
